<html>
<head><meta charset="utf-8"><title>missing proc-macros in rustc-dev component · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html">missing proc-macros in rustc-dev component</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="223931499"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223931499" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223931499">(Jan 25 2021 at 17:27)</a>:</h4>
<p>I have manually (without internet, from tarballs) installed nightly rust and rustc-dev. Any idea what could be missing?</p>
<div class="codehilite"><pre><span></span><code>     Running `rustc --crate-name array_init --edition=2018 /run/build/servo/cargo/vendor/array-init-0.1.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=bbfe2ff148ddf354 -C extra-filename=-bbfe2ff148ddf354 --out-dir /run/build/servo/target/debug/deps -L dependency=/run/build/servo/target/debug/deps --cap-lints allow -C link-args=-fuse-ld=gold -W unused-extern-crates`
error[E0463]: can&#39;t find crate for `rustc_macros` which `rustc_ast` depends on
  --&gt; components/script_plugins/lib.rs:22:1
</code></pre></div>
<p>I'm trying to compile servo (servo guys pointed me to here), it should compile on Linux target, but it's just for me - nope.</p>



<a name="223932021"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223932021" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cjgillot <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223932021">(Jan 25 2021 at 17:31)</a>:</h4>
<p>Can you describe more precisely how you came to this error? What command did you run?</p>



<a name="223932318"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223932318" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223932318">(Jan 25 2021 at 17:33)</a>:</h4>
<p>Hmm, I know proc macros were recently removed from the rustc component, maybe they were accidentally removed from rustc-dev too?</p>



<a name="223932481"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223932481" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223932481">(Jan 25 2021 at 17:34)</a>:</h4>
<p><span class="user-mention" data-user-id="383979">@David Heidelberg</span> the project you're building has <code>#![feature(rustc_private)]</code> somewhere, right?</p>



<a name="223932598"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223932598" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223932598">(Jan 25 2021 at 17:35)</a>:</h4>
<p>yes, failing components/script_plugins/lib.rs has<br>
#![feature(rustc_private)]</p>



<a name="223933200"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223933200" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223933200">(Jan 25 2021 at 17:39)</a>:</h4>
<p>whole log is here: <a href="https://pastebin.com/raw/AAi7bwFb">https://pastebin.com/raw/AAi7bwFb</a></p>



<a name="223933626"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223933626" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223933626">(Jan 25 2021 at 17:43)</a>:</h4>
<p>I think this may be related to<br>
<a href="https://github.com/rust-lang/rust/pull/80315">https://github.com/rust-lang/rust/pull/80315</a> - does anyone know @tmiasko's zulip handle?</p>



<a name="223934409"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223934409" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223934409">(Jan 25 2021 at 17:49)</a>:</h4>
<p>it's <span class="user-mention" data-user-id="352985">@tm</span></p>



<a name="223937357"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223937357" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223937357">(Jan 25 2021 at 18:11)</a>:</h4>
<p><span class="user-mention silent" data-user-id="383979">David Heidelberg</span> <a href="#narrow/stream/122651-general/topic/rustc_macros.20which.20rustc_ast.20depends/near/223931499">said</a>:</p>
<blockquote>
<p>I have manually (without internet, from tarballs) installed nightly rust and rustc-dev. Any idea what could be missing?</p>
</blockquote>
<p>Which tarballs are those? How did you install them?</p>



<a name="223947601"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223947601" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223947601">(Jan 25 2021 at 19:29)</a>:</h4>
<div class="codehilite"><pre><span></span><code>Running: ./rust-nightly/install.sh --prefix=/app/lib/sdk/rust-nightly --disable-ldconfig
install: creating uninstall script at /app/lib/sdk/rust-nightly/lib/rustlib/uninstall.sh
install: installing component &#39;rustc&#39;
install: installing component &#39;cargo&#39;
install: installing component &#39;rls-preview&#39;
install: installing component &#39;rust-analyzer-preview&#39;
install: installing component &#39;clippy-preview&#39;
install: installing component &#39;miri-preview&#39;
install: installing component &#39;rustfmt-preview&#39;
install: installing component &#39;llvm-tools-preview&#39;
install: installing component &#39;rust-analysis-x86_64-unknown-linux-gnu&#39;
install: installing component &#39;rust-std-x86_64-unknown-linux-gnu&#39;
install: installing component &#39;rust-docs&#39;

    rust installed.

Running: ./rustc-dev/install.sh --prefix=/app/lib/sdk/rust-nightly --disable-ldconfig
install: creating uninstall script at /app/lib/sdk/rust-nightly/lib/rustlib/uninstall.sh
install: installing component &#39;rustc-dev&#39;

    rustc dev installed.
</code></pre></div>
<p><span class="user-mention" data-user-id="352985">@tm</span></p>
<p>paths from downloaded: <a href="https://static.rust-lang.org/dist/2021-01-24/rust-nightly-x86_64-unknown-linux-gnu.tar.xz">https://static.rust-lang.org/dist/2021-01-24/rust-nightly-x86_64-unknown-linux-gnu.tar.xz</a></p>
<ul>
<li><a href="https://static.rust-lang.org/dist/2021-01-24/rustc-dev-nightly-x86_64-unknown-linux-gnu.tar.xz">https://static.rust-lang.org/dist/2021-01-24/rustc-dev-nightly-x86_64-unknown-linux-gnu.tar.xz</a></li>
</ul>



<a name="223951955"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223951955" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223951955">(Jan 25 2021 at 20:00)</a>:</h4>
<p><a href="http://install.sh">install.sh</a> spawns at least four different processes for each file it installs, ......</p>



<a name="223952215"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223952215" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223952215">(Jan 25 2021 at 20:02)</a>:</h4>
<p>processes? not sure if I understand</p>



<a name="223952962"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223952962" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223952962">(Jan 25 2021 at 20:07)</a>:</h4>
<p>I was looking why it was taking so long to install the docs :(</p>



<a name="223953238"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223953238" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223953238">(Jan 25 2021 at 20:10)</a>:</h4>
<p>docs are real pain in recent rust nightly, would be amazing to have --nodocs arg, since for example flatpak SDK just strip them right after rust installation</p>



<a name="223953469"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223953469" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223953469">(Jan 25 2021 at 20:12)</a>:</h4>
<p>I wasn't patient enough and used <code>--without=rust-docs</code></p>



<a name="223953544"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223953544" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223953544">(Jan 25 2021 at 20:12)</a>:</h4>
<p>but <code>rustc-dev</code> contains source code so has similar problem</p>



<a name="223955035"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223955035" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223955035">(Jan 25 2021 at 20:27)</a>:</h4>
<p>I can't reproduce the issue on a small self-contained example. rustc finds rustc_macros just fine. Could you verify that you have it in $prefix/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_macros-5f0ec4a119c6ac86.so ?</p>



<a name="223955217"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223955217" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223955217">(Jan 25 2021 at 20:28)</a>:</h4>
<p>I would suggest building with <code>env RUSTC_LOG=rustc_metadata::creader=info</code> and <code>-j1</code> maybe there is something interesting in logs</p>



<a name="223955602"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223955602" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223955602">(Jan 25 2021 at 20:31)</a>:</h4>
<p>I have it there. I'll try env</p>



<a name="223956303"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223956303" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223956303">(Jan 25 2021 at 20:37)</a>:</h4>
<div class="codehilite"><pre><span></span><code>INFO rustc_metadata::creader resolving crate `panic_unwind`
INFO rustc_metadata::creader resolving dep crate rustc_macros hash: `98bfcd4e6b108e98` extra filename: `-5f0ec4a119c6ac86`
INFO rustc_metadata::creader resolving crate `rustc_macros`
INFO rustc_metadata::creader falling back to a load
error[E0463]: can&#39;t find crate for `rustc_macros` which `rustc_ast` depends on
</code></pre></div>
<p><a href="https://pastebin.com/kYYtE3Jw">https://pastebin.com/kYYtE3Jw</a><br>
not exactly -j1 (I'll look up how to pass it to servo mach buildsystem), but at least something</p>
<p>it looks like it won't see the rustc_macros lib</p>



<a name="223956934"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223956934" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223956934">(Jan 25 2021 at 20:41)</a>:</h4>
<p>What is the content of <code>$prefix/lib/rustlib/x86_64-unknown-linux-gnu/lib</code>?</p>



<a name="223957097"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223957097" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223957097">(Jan 25 2021 at 20:43)</a>:</h4>
<p>Could you try again with <code>RUSTC_LOG=rustc_metadata=info</code>?</p>



<a name="223957168"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223957168" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223957168">(Jan 25 2021 at 20:43)</a>:</h4>
<p><a href="https://pastebin.com/yawY6Lq3">https://pastebin.com/yawY6Lq3</a> filelist</p>



<a name="223957236"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223957236" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223957236">(Jan 25 2021 at 20:44)</a>:</h4>
<p><span class="user-mention" data-user-id="352985">@tm</span> together with creader=info or without?</p>



<a name="223957267"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223957267" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223957267">(Jan 25 2021 at 20:44)</a>:</h4>
<p>without</p>



<a name="223957784"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223957784" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223957784">(Jan 25 2021 at 20:48)</a>:</h4>
<div class="codehilite"><pre><span></span><code>INFO rustc_metadata::creader resolving crate `panic_unwind`
INFO rustc_metadata::creader resolving dep crate rustc_macros hash: `98bfcd4e6b108e98` extra filename: `-5f0ec4a119c6ac86`
INFO rustc_metadata::creader resolving crate `rustc_macros`
INFO rustc_metadata::creader falling back to a load
INFO rustc_metadata::locator lib candidate: /app/lib/sdk/rust-nightly/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_macros-5f0ec4a119c6ac86.so
INFO rustc_metadata::locator dylib reading metadata from: /app/lib/sdk/rust-nightly/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_macros-5f0ec4a119c6ac86.so
WARN rustc_metadata::locator no metadata found: metadata not found: &#39;/app/lib/sdk/rust-nightly/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_macros-5f0ec4a119c6ac86.so&#39;
INFO rustc_metadata::locator lib candidate: /app/lib/sdk/rust-nightly/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_macros-5f0ec4a119c6ac86.so
INFO rustc_metadata::locator lib candidate: /app/lib/sdk/rust-nightly/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_macros-5f0ec4a119c6ac86.so
INFO rustc_metadata::locator dylib reading metadata from: /app/lib/sdk/rust-nightly/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_macros-5f0ec4a119c6ac86.so
WARN rustc_metadata::locator no metadata found: metadata not found: &#39;/app/lib/sdk/rust-nightly/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_macros-5f0ec4a119c6ac86.so&#39;
INFO rustc_metadata::locator lib candidate: /app/lib/sdk/rust-nightly/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_macros-5f0ec4a119c6ac86.so
error[E0463]: can&#39;t find crate for `rustc_macros` which `rustc_ast` depends on
</code></pre></div>
<p>should I try to analyze librustc_macros somehow?</p>



<a name="223962725"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223962725" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223962725">(Jan 25 2021 at 21:26)</a>:</h4>
<p><code>metadata not found</code> seems unexpected. Are those rustc files in any way modified, e.g., by flatpak?</p>



<a name="223962824"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223962824" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223962824">(Jan 25 2021 at 21:27)</a>:</h4>
<p>shouldn't be (it's just pure copy)</p>



<a name="223962863"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223962863" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223962863">(Jan 25 2021 at 21:27)</a>:</h4>
<p>For example is there <code>.rustc</code> section present after running <code>objdump -h librustc_macros*.so</code>?</p>



<a name="223963027"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223963027" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223963027">(Jan 25 2021 at 21:28)</a>:</h4>
<p>no</p>



<a name="223963035"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223963035" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223963035">(Jan 25 2021 at 21:28)</a>:</h4>
<p>maybe stripped?(looking at flatpak docs: If this is true (the default is false) then all ELF files will be stripped after install.)</p>



<a name="223963282"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223963282" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223963282">(Jan 25 2021 at 21:30)</a>:</h4>
<p>strip, no-debuginfo and no-debuginfo-compression all look potentially suspect</p>



<a name="223963779"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223963779" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223963779">(Jan 25 2021 at 21:34)</a>:</h4>
<p>most likely two latter! thank you!! Going to check</p>



<a name="223966499"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223966499" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223966499">(Jan 25 2021 at 21:57)</a>:</h4>
<p>So, at least by looking into log, Flatpak seems to sucessfully ignore my options for not stripping/spliting and compressing. So, thank you a lot for now and I'll write later how it went :)</p>



<a name="223970420"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223970420" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223970420">(Jan 25 2021 at 22:16)</a>:</h4>
<p>Fixed! Flatpak ignoration was just my overlook of true/false logic. Thank you! It helped!</p>



<a name="223972069"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/missing%20proc-macros%20in%20rustc-dev%20component/near/223972069" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Heidelberg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/missing.20proc-macros.20in.20rustc-dev.20component.html#223972069">(Jan 25 2021 at 22:29)</a>:</h4>
<p>When I start coding something more serious in Rust, I'll be back :) Again thanks and bye.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>